#include <stdio.h>
#include <stdlib.h>

#include "position.h"


/*
void initPosition(Position * p)
{

     p->posX = setposX(p,0);
     p->posY = setposY(p,0);
}



void liberePosition(Position * p)
{

    initPosition(p);

}

Position * creerPosition()
{
    Position *p;
    p= (Position *) malloc (sizeof(Position));
    initPosition(p);
    return p;
}


void detruirePosition()
{

    liberePosition()
    free(p);
}



//accesseurs et mutateurs

int getposX(Position * p)
{
    return p->posX;
}


int getposY(Position * p)
{
    return p->posY;
}

void setposX(Position * p,int X)
{
    p->posX=X;
}


void setposY(Position * p,int Y)
{
    p->posY=Y;
}


void setpos(Position * p, int X, int Y)
{

     p->posX=X;
     p->posY=Y;

}
*/
